﻿@{
    string systemName = ViewBag.SystemName;
    string title = "Nhà hát thành phố - ";
    switch (systemName)
    {
        case "tong-quan":
            title += "Giới thiệu";
            break;
        case "quyet-dinh-thanh-lap":
            title += "Quyết định thành lập";
            break;
        case "so-do":
            title += "Sơ đồ nhà hát";
            break;
        default:
            break;
    }
    ViewBag.Title = title;
}

<div class="master-wrapper-center-inner">
@switch (systemName)
    {
        case "tong-quan":
            @Html.Partial("GioiThieu")
       break;
        case "quyet-dinh-thanh-lap":
            @Html.Partial("QuyetDinhThanhLap")
       break;
        case "so-do":
            @Html.Partial("SoDoNhaHat")
       break;
        default:           
       break;
    }
</div>

@{
    

    //current intro
    string current_intro = "";
    if (Url.RequestContext.RouteData.Values["controller"].ToString().Equals("intro", StringComparison.InvariantCultureIgnoreCase) &&
        Url.RequestContext.RouteData.Values["action"].ToString().Equals("IntroDetails", StringComparison.InvariantCultureIgnoreCase))
    {
            current_intro = Url.RequestContext.RouteData.Values["systemNameIntro"].ToString();
    }
}
@section left{
    @Html.Action("IntroNavigation", "Intro", new { active = current_intro })
}